package org.fengling.readingplatform.manager.service;


import jakarta.servlet.http.HttpServletResponse;
import org.fengling.readingplatform.model.entity.novel.Category;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;


public interface CategoryService {
    List<Category> findCategoryList(Long id);

    // 导出
    void exportData(HttpServletResponse response);

    // 导入
    void importData(MultipartFile file);

    // 查询所有一级分类
    List<Category> findFirstCategory();
}
